home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / perl40_2.zip / FORM.H < prev    next >
C/C++ Source or Header  |  1991-11-28  |  973b  |  51 lines

  1. /* $RCSfile: form.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 11:08:20 $
  2.  *
  3.  *    Copyright (c) 1991, Larry Wall
  4.  *
  5.  *    You may distribute under the terms of either the GNU General Public
  6.  *    License or the Artistic License, as specified in the README file.
  7.  *
  8.  * $Log:    form.h,v $
  9.  * Revision 4.0.1.1  91/06/07  11:08:20  lwall
  10.  * patch4: new copyright notice
  11.  *
  12.  * Revision 4.0  91/03/20  01:19:37  lwall
  13.  * 4.0 baseline.
  14.  *
  15.  */
  16.  
  17.  
  18. #define F_NULL 0
  19. #define F_LEFT 1
  20. #define F_RIGHT 2
  21. #define F_CENTER 3
  22. #define F_LINES 4
  23. #define F_DECIMAL 5
  24.  
  25.  
  26. struct formcmd {
  27.     struct formcmd *f_next;
  28.     ARG *f_expr;
  29.     STR *f_unparsed;
  30.     line_t f_line;
  31.     char *f_pre;
  32.     short f_presize;
  33.     short f_size;
  34.     short f_decimals;
  35.     char f_type;
  36.     char f_flags;
  37. };
  38.  
  39.  
  40. #define FC_CHOP 1
  41. #define FC_NOBLANK 2
  42. #define FC_MORE 4
  43. #define FC_REPEAT 8
  44. #define FC_DP 16
  45.  
  46.  
  47. #define Nullfcmd Null(FCMD*)
  48.  
  49.  
  50. EXT char *chopset INIT(" \n-");
  51.